local tiandu = fk.CreateSkill {

  name = "joy__tiandu",

  tags = {  },

}



tiandu:addEffect(fk.FinishJudge, {
  name = "joy__tiandu",
  anim_type = "drawcard",
  events = {fk.FinishJudge},
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(tiandu.name) and player.room:getCardArea(data.card) == Card.Processing
  end,
  on_use = function(self, event, target, player, data)
    player.room:obtainCard(player, data.card, true, fk.ReasonJustMove)
  end,
})

return tiandu